#@layout()
#define main()
<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form" id="edit_form" isLoad="1" loadUrl="#(base)/result/getStudentResult">
            <input type="hidden" name="id" value="#(id)">
            <div class="layui-form-item">
                <label class="layui-form-label">学号</label>
                <div class="layui-input-block">
                    <input disabled type="text"  id="number"  name="number" required="" lay-verType="tips" lay-verify="required" placeholder="请输入学号" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">姓名</label>
                <div class="layui-input-block">
                    <input disabled type="text" name="name"  id="name" required="" lay-verType="tips" lay-verify="required" placeholder="请输入姓名" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">课程</label>
                <div class="layui-input-block">
                    <select disabled name="course_id" lay-verify="required">
                        <option value="">请选择课程</option>
                        #for(course:courseList)
                        <option value="#(course.id)">#(course.Kcid)---#(course.Kcname)</option>
                        #end
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">平时成绩</label>
                <div class="layui-input-block">
                    <input type="text" name="pingshiresult" required="" lay-verType="tips" lay-verify="required|number" placeholder="请输入平时成绩" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">实验成绩</label>
                <div class="layui-input-block">
                    <input type="text" name="shiyanresult" required="" lay-verType="tips" lay-verify="required|number" placeholder="请输入实验成绩" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">期末成绩</label>
                <div class="layui-input-block">
                    <input type="text" name="qimoresult" required="" lay-verType="tips" lay-verify="required|number" placeholder="请输入期末成绩" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">总成绩</label>
                <div class="layui-input-block">
                    <input type="text" name="zongresult" required="" lay-verType="tips" lay-verify="required|number" placeholder="请输入总成绩" autocomplete="off" class="layui-input"/>
                </div>
            </div>
            <hr/>
            <div class="layui-form-item" style="text-align: center;">
                <button class="layui-btn" lay-submit="" lay-filter="edit" url="#(base)/result/editStudentResult"><i class="layui-icon">&#xe642;</i>编辑</button>
                <button type="button" class="layui-btn layui-btn-primary" function="close">关闭</button>
            </div>
        </form>
    </div>
</div>
#end